getApp(), require("../../utils/api.js");

Component({
    options: {
        addGlobalClass: !0
    },
    properties: {
        selectID: String,
        coupList: Object
    },
    data: {},
    lifetimes: {},
    ready: function() {},
    methods: {
        gouse: function(t) {
            var e = t.currentTarget.dataset.index, o = this.data.coupList[e];
            console.log("info", o), this.triggerEvent("onSelected", o);
        },
        gonotuse: function(t) {
            var e = t.currentTarget.dataset.index, o = this.data.coupList[e];
            console.log("info", o), this.triggerEvent("noSelected", o);
        }
    }
});